<template>
  <div>
    <top-banner height="140px"></top-banner>
    <van-tabs v-model="active" sticky>
      <van-tab title="政信" name="政信">
        <policy-list v-if="active === '政信'" :type="active" />
      </van-tab>
      <van-tab title="基金" name="基金">
        <fund-list v-if="active === '基金'" :type="active" />
      </van-tab>
      <!-- <van-tab title="保险" name="保险">
        <list v-if='active==="保险"' :type="active" />
      </van-tab> -->
    </van-tabs>
  </div>
</template>
<script>
import FundList from "./components/fund/list";
import PolicyList from "./components/policy/list";
import TopBanner from "./components/top-banner.vue";
export default {
  data() {
    return {
      active: "政信",
    };
  },
  components: {
    FundList,
    PolicyList,
    TopBanner,
  },
  methods: {},
};
</script>
<style lang="scss" scoped></style>
